package cn.nkjobsearch.publicClass;

public class Print {
	public static void print(String a) {
		System.out.println(a);
	}
	
	public static void print(int a) {
		System.out.println(a);
	}
	
	public static void print(int[] a){
		for(int i=0; i<a.length; i++) {
			System.out.print(a[i] + " ");
		}
		System.out.println();
	}
	
	public static void print(String[] a){
		for(int i=0; i<a.length; i++) {
			System.out.print(a[i] + " ");
		}
		System.out.println();
	}
	
	public static void print(int[][] a){
		for(int i=0; i<a.length; i++) {
			System.out.print(i + ": ");
			for(int j=0; j<a[i].length; j++) {
				System.out.print(a[i][j] + "\t");
			}
			System.out.print("\n");
		}
	}
	
	public static void print(String[][] a){
		for(int i=0; i<a.length; i++) {
			System.out.print(i + ": ");
			for(int j=0; j<a[i].length; j++) {
				System.out.print(a[i][j] + "\t");
			}
			System.out.print("\n");
		}
	}
}
